<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>İnfoteks Kayıt</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="İnfoteks">
    <meta name="author" content="İnfoteks">

    <!-- <link href="assets/less/styles.less" rel="stylesheet/less" media="all"> -->
    <link rel="stylesheet" href="<?php echo base_url().'public/';?>assets/css/styles.min.css?=113">
    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600' rel='stylesheet' type='text/css'>
    
    <!-- <script type="text/javascript" src="assets/js/less.js"></script> -->
</head><body class="focusedform">

<div class="verticalcenter">
	<a href="<?php echo base_url(); ?>"><img src="<?php echo base_url().'public/';?>assets/img/infoteks.png" alt="Logo" class="brand" /></a>
	<div class="panel panel-primary">
		<div class="panel-body">
			<h4 class="text-center" style="margin-bottom: 25px;">Kayıt Ol</h4>
				<!-- <form action="#" class="form-horizontal" style="margin-bottom: 0px !important;"> -->
                <?php 
                $attributes = array('class' => 'form-horizontal', 'style' => 'margin-bottom: 0px !important;' );
                echo form_open('user/register',$attributes); ?>
						<div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-envelope-o"></i></span>
									<input type="text" name="email" value="<?php echo set_value('email');?>" class="form-control" id="email" placeholder="E-posta">
								</div>
                              
							</div>
                              <div class="col-sm-12">
                                
                                <?php echo form_error('email','<div class="alert alert-dismissable alert-danger">','</div>'); ?>
                              
                            </div>
						</div>
						<div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-user"></i></span>
									<input type="text" class="form-control" name="username" value="<?php echo set_value('username');?>" id="username" placeholder="Kullanıcı Adı">
								</div>
							</div>
                            <div class="col-sm-12">
                                
                                <?php echo form_error('username','<div class="alert alert-dismissable alert-danger">','</div>'); ?>
                              
                            </div>
						</div>
                
                        <div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-user"></i></span>
									<input type="text" class="form-control" name="name" value="<?php echo set_value('name');?>" id="name" placeholder="İsim">
								</div>
							</div>
                            <div class="col-sm-12">
                                
                                <?php echo form_error('name','<div class="alert alert-dismissable alert-danger">','</div>'); ?>
                              
                            </div>
						</div>
                        <div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-user"></i></span>
									<input type="text" class="form-control" name="surname" value="<?php echo set_value('surname');?>" id="surname" placeholder="Soyad">
								</div>
							</div>
                            <div class="col-sm-12">
                                
                                <?php echo form_error('surname','<div class="alert alert-dismissable alert-danger">','</div>'); ?>
                              
                            </div>
						</div>                        
						<div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-lock"></i></span>
									<input type="password" name="password" value="<?php echo set_value('password');?>" class="form-control" id="password" placeholder="Şifre">
								</div>
							</div>
                            <div class="col-sm-12">
                                
                                <?php echo form_error('password','<div class="alert alert-dismissable alert-danger">','</div>'); ?>
                              
                            </div>
						</div>
						<div class="form-group">
							<div class="col-sm-12">
								<div class="input-group">
									<span class="input-group-addon"><i class="fa fa-lock"></i></span>
									<input type="password" name="repassword" value="<?php echo set_value('repassword');?>" class="form-control" id="password" placeholder="Şifre tekrarı">
								</div>
							</div>
                            <div class="col-sm-12">
                                
                                <?php echo form_error('repassword','<div class="alert alert-dismissable alert-danger">','</div>'); ?>
                              
                            </div>
						</div>
						<div class="block" style="text-align:center">
							<input type="checkbox" style="margin-right:5px">
							<span>
							<a href="#">Kullanıcı sözleşmesini</a> kabul ediyorum.
							</span>
						</div>
						
					
					
		</div>
		<div class="panel-footer">
			<div class="pull-left">
				
                <?php echo anchor('user/login','İptal',array('class' => 'btn btn-default')); ?>
			</div>
			<div class="pull-right">
				<a href="#" onclick="document.forms[0].submit();return false;" class="btn btn-success">Kayıt Ol</a>
			</div>
		</div>
        </form>
	</div>
 </div>
      
</body>
</html>